package model;
/**
 * This Class is a Login window Model.
 * @author Dmitry
 *
 */
public class LoginModel {
	private String userID;
	private String password;
	/**
	 * This is LoginModel Constructor.
	 */
	public LoginModel(){
		
	}
	
	/**
	 * This is the constructor.  
	 * @param userID User's ID number
	 * @param password User's password
	 */
	public LoginModel(String userID,String password){
		this.userID = userID;
		this.password = password;
	}

	
	public String print()
	{
		return userID + " " + password + "!\n";
	}

/**
 * This method returns userName detail.
 * @return String type.
 */
	public String getUserID() {
		return userID;
	}

/**
 * This method sets new userName to user.
 * @param userName - new user's name.
 */
	public void setUserID(String userID) {
		this.userID = userID;
	}

/**
 * This method returns password details.
 * @return String type.
 */
	public String getPassword() {
		return password;
	}

/**
 * This method sets new password to user.
 * @param password - new user's password.
 */
	public void setPassword(String password) {
		this.password = password;
	}
}
